<!-- 添加 -->
<script id="tpl-add" type="text/template">
    <div class="am-padding-xs am-padding-top-sm">
        <div class="am-form-group">
            <label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">选择优惠券 </label>
            <div class="am-u-sm-9 am-u-end">
                <select name="data[coupon_id]" required style="width:200px;">
                    <option value="">请选择优惠券</option>
                    {{ each list }}
                    <option value="{{ $value.coupon_id }}">{{ $value.name }}</option>
                    {{ /each }}
                </select>
            </div>
        </div>
        <div class="am-form-group">
            <label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">选择门店 </label>
            <div class="am-u-sm-9 am-u-end">
                <select name="data[shop_id]" required style="width:200px;">
                    <option value="">请选择门店</option>
                    <option value="0">全部门店</option>
                    {{ each shoplist }}
                    <option value="{{ $value.shop_id }}">{{ $value.shop_name }}</option>
                    {{ /each }}
                </select>
            </div>
        </div>
        <div class="am-form-group">
            <label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">会员条件</label>
            <div class="am-u-sm-9 am-u-end">
                <label class="am-radio-inline">
                    <input type="radio" name="data[v]" value="0" data-am-ucheck checked> 全部会员
                </label>
                <label class="am-radio-inline">
                    <input type="radio" name="data[v]" value="1" data-am-ucheck > V1
                </label>
                <label class="am-radio-inline">
                    <input type="radio" name="data[v]" value="2" data-am-ucheck > V2
                </label>
                <label class="am-radio-inline">
                    <input type="radio" name="data[v]" value="3" data-am-ucheck > V3
                </label>
                <label class="am-radio-inline">
                    <input type="radio" name="data[v]" value="4" data-am-ucheck > V4
                </label>
                <label class="am-radio-inline">
                    <input type="radio" name="data[v]" value="5" data-am-ucheck > V5
                </label>
                <label class="am-radio-inline">
                    <input type="radio" name="data[v]" value="6" data-am-ucheck > V6
                </label>
            </div>
        </div>
    </div>  
</script>
